package com.yunji.cabinet.dao;

import com.yunji.cabinet.bo.UpgradeTaskListBO;
import com.yunji.cabinet.domain.UpgradeTaskDO;
import com.yunji.cabinet.params.UpgradeTaskParam;
import com.yunji.cabinet.task.UpgradeTask;
import com.yunji.common.base.IBaseDao;
import com.yunji.common.base.IModifyStatusBaseBO;

import java.util.List;

public interface IUpgradeTaskDao extends IBaseDao<UpgradeTaskDO> {
    boolean modifyStatus(IModifyStatusBaseBO iModifyStatusBaseBO);

    boolean startTask(String taskCode);

    boolean closeTask(String taskCode);

    List<UpgradeTaskDO> searchPageList(UpgradeTaskParam param);

    List<UpgradeTaskDO> search(UpgradeTaskListBO bo);
}
